package com.dq.controller.in.orders;

import com.dq.controller.in.base.BaseAdminQuery;
import com.dq.domain.orders.ShortageOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuhui
 * @date 2019/11/27 0027 14:09:10
 */
@Data
@ApiModel("缺货单列表查询实体")
public class ShortageOrderQuery extends BaseAdminQuery {
    @ApiModelProperty("缺货订单号")
    public String shortageOrderNo;
    @ApiModelProperty("采购订单号/销售单单号")
    public String relateOrderNo;
    @ApiModelProperty("开始时间")
    public Long beginTime;
    @ApiModelProperty("结束时间")
    public Long endTime;
    @ApiModelProperty("订单状态")
    public ShortageOrder.ShortageStatus shortageStatus;
    @ApiModelProperty("门店id")
    public Long orgId;

    @ApiModelProperty("接口调用平台类型（org: 门店端[门店端 orgId不需传]；boss boss端）")
    public String type;
    @ApiModelProperty("缺货单类型（userOrder: 销售单对应缺货单； orgOrder: 采购单对应缺货单；all：所有类型）")
    public ShortageOrder.ShortageType shortageType;
}
